<?php
/*
 */

m2import('phpinchains/tags/h/inputHandler.php');

class h_textareaHandler extends h_inputHandler
{

    function startElement (& $sender, $attrs)
    {
        $this->tagName = 'textarea';
        $this->containerTag = true;
        parent::startElement($sender, $attrs);
    }

    function endElement (& $sender)
    {
        if ($this->containerTag)
            $sender->appendCode("\$out->write('</".$this->tagName.">');\n");
    }
}

?>